package cn.gan.loveofsoul.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ganwh
 * @since 2023-10-26
 */
@Getter
@Setter
@ToString
@TableName("photo_album")
public class PhotoAlbum implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 相册ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /**
     * 所属情侣关系ID
     */
    private Integer relationshipId;

    /**
     * 相册名称
     */
    private String albumName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
